Conditions | 2 |
Paths | 2 |
Total Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | /** global: GLSR, jQuery */ |
||
34 | post_: function( callback ) { // function|void |
||
35 | if( this.event ) { |
||
36 | this.postFromEvent_( callback ); |
||
37 | return; |
||
38 | } |
||
39 | x.post( GLSR.ajaxurl, this.buildData_(), function( response ) { |
||
40 | if( typeof callback !== 'function' )return; |
||
41 | callback( response ); |
||
42 | }); |
||
43 | }, |
||
44 | |||
62 |